Precisely Deciding Control State Reachability in Concurrent Traces with Limited Observability
نویسندگان
چکیده
We propose a new algorithm for precisely deciding a control state reachability (CSR) problem in runtime verification of concurrent programs, where the trace provides only limited observability of the execution. Under the assumption of limited observability, we know only the type of each event (read, write, lock, unlock, etc.) and the associated shared object, but not the concrete values of these objects or the control/data dependency among these events. Our method is the first sound and complete method for deciding such CSR in traces that involve more than two threads, while handling both standard synchronization primitives and ad hoc synchronizations implemented via shared memory accesses. It relies on a new polygraph based analysis, which is provably more accurate than existing methods based on lockset analysis, acquisition history, universal causality graph, and a recently proposed method based the causally-precedes relation. We have implemented the method in an offline data-race detection tool and demonstrated its effectiveness on multithreaded C/C++ applications.
منابع مشابه
Reachability checking in complex and concurrent software systems using intelligent search methods
Software system verification is an efficient technique for ensuring the correctness of a software product, especially in safety-critical systems in which a small bug may have disastrous consequences. The goal of software verification is to ensure that the product fulfills the requirements. Studies show that the cost of finding and fixing errors in design time is less than finding and fixing the...
متن کاملReachability and observability of linear systems over max-plus
This paper discusses the properties of reachability and observability for linear systems over the max-plus algebra. Working in the event-domain, the concept of asticity is used to develop conditions for weak reachability and weak observability. In the reachability problem, residuation is used to determine if a state is reachable and to generate the required control sequence to reach it. In the ...
متن کامل0 90 6 . 02 15 v 2 [ m at h . O C ] 1 7 Ju l 2 00 9 Computational Analysis of Control Systems Using Dynamic Optimization ∗
Several concepts on the measure of observability, reachability, and robustness are defined and illustrated for both linear and nonlinear control systems. Defined by using computational dynamic optimization, these concepts are applicable to a wide spectrum of problems. Some questions addressed include the observability based on userinformation, the determination of strong observability vs. weak ...
متن کاملun 2 00 9 Computational Analysis of Control Systems Using Dynamic Optimization ∗
Several concepts on the measure of observability, reachability, and robustness are defined and illustrated for both linear and nonlinear control systems. Defined by using computational dynamic optimization, these concepts are applicable to a wide spectrum of problems. Some questions addressed include the observability based on userinformation, the determination of strong observability vs. weak ...
متن کاملOn Existential Observability and Reachability in a Class of Discrete-Time Switched Linear Systems
We study the class of switched linear systems with constant dynamics, i.e. with switching in only the measurement or control matrices (which corresponds to systems with several sensory and actuation modes), and establish that the length of the shortest mode path achieving observability or reachability, if one exists, is at most the square of the dimension of the state space. This not only prove...
متن کامل